<template>
  <div>
    <p>user页面</p>
    <p @click="navigate">点击跳转</p>
  </div>
</template>

<script>
export default {
    name:'User',
    data() {
        return {

        }
    },
    methods: {
        navigate() {
            this.$router.push('/home');
        }
    }
};
</script>

<style>
</style>